package com.richpencil.modules.system.mapperutil;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface NativeSQLMapper {

	@org.apache.ibatis.annotations.SelectProvider(type= NativeSQLProvider.class,method="dynamicSQL")
    List<Map<String, Object>> NativeSqlQuery(@Param("sql") String sql);

    @org.apache.ibatis.annotations.SelectProvider(type= NativeSQLProvider.class,method="dynamicSQL")
    int NativeSqlCount(@Param("sql") String sql);
}
